<?php

//Vilken är bäst?

//The content-type
header('Content-Type:application/xml');
echo file_get_contents("http://api.matmarknad.se/producer/xml");



/*// Website url to open
$url = 'http://api.matmarknad.se/producer/xml';

// Get that website's content
$handle = fopen($url, "r");

// If there is something, read and return
if ($handle) {
    while (!feof($handle)) {
        $buffer = fgets($handle);
        echo $buffer;
    }
    fclose($handle);
}*/